<?
include("common/header.html");
include("common/left.html");
$memberID=$_SESSION['sid'];
$pid=$_REQUEST['pid']?abs($_REQUEST['pid']):158;
$str="select apply_did,salerid from uu_products where id=$pid limit 1";
$GLOBALS['le']->query($str);
$GLOBALS['le']->fetch_assoc();
$apply_did=$GLOBALS['le']->f("apply_did");
$salerid=$GLOBALS['le']->f("salerid");
$str="select account from pft_member where id=$memberID limit 1";
$GLOBALS['le']->query($str);
$GLOBALS['le']->fetch_assoc();
$account=$GLOBALS['le']->f("account");
if($apply_did!=$memberID&&$account!=$salerid&&$_SESSION['dtype']!=9) exit("非供应产品，无法配置");

include("tpl/storageConfig.tpl");
include("common/footer.html");
?>